package com.ncloud.billing.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import com.ncloud.billing.entity.EnumDictionary;

@Mapper
public interface EnumDictionaryMapper{

	@Select("SELECT enum_id, code, name, order_no, use_tag, remark FROM bi_p_dictionary where enum_id=#{enumID}")
	@Results({
		@Result(column="enum_id",property="enum_id"),@Result(column="code",property="code"),
		@Result(column="name",property="name"),@Result(column="order_no",property="order_no"),
		@Result(column="use_tag",property="use_tag"),@Result(column="remark",property="remark")})
	List<EnumDictionary> getEnumDictionaryByEnumID(String enumID);
}
